package com.xsh.service.impl;

import com.xsh.mapper.PermissionMapper;
import com.xsh.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Set;
@Service
public class PermissionServiceImpl implements PermissionService {

    @Autowired
    private PermissionMapper permissionMapper;

    @Override
    public Set<String> selectByUsername(String username) {
        return permissionMapper.selectByUsername(username);
    }
}
